package com.woniuxy;

import com.woniuxy.interceptor.AuthPermInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.AutoConfigurationExcludeFilter;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.TypeExcludeFilter;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.context.annotation.FilterType;

/**
 * @Author: 马宇航
 * @Description: springcloud微服务网关配置
 * @DateTime: 22/10/13/0013 14:15
 * @Component: 成都蜗牛学苑
 **/
@SpringBootApplication
@ComponentScan(basePackages = {"com.woniuxy.filters","com.woniuxy.mypredicates"})
@EnableDiscoveryClient
public class GatewayApp {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApp.class,args);
    }
}
